package org.gorson.function;


import org.apache.flink.api.common.functions.FilterFunction;
import org.gorson.BO.OdsRepayPlanBO;

public class FilterRepayPlanFunction implements FilterFunction<OdsRepayPlanBO> {
    private final String matchLetter = ".*[a-zA-Z].*";
    @Override
    public boolean filter(OdsRepayPlanBO odsRepayPlanBO) throws Exception {
        return !odsRepayPlanBO.getDataDate().matches(matchLetter);
    }
}
